#include <iostream>
using namespace std;

// 字符串比较
void test1()
{
    string str1 = "Hello";
    string str2 = "hello";

    if (str1.compare(str2) == 0)
    {
        cout << "str1 == str2" << endl;
    }
    else if (str1.compare(str2) > 0)
    {
        cout << "str1 > str2" << endl;
    }
    else
    {
        cout << "str1 < str2" << endl;
    }
}

int main()
{
    test1();
    return 0;
}